package com.lostsheep.service;

import com.lostsheep.vo.UserVO;

import java.util.List;

/**
 * <b><code>UserService</code></b>
 * <p/>
 * Description
 * <p/>
 * <b>Creation Time:</b> 2024/7/6.
 *
 * @author dengzhen
 * @since spring-cloud-dubbo
 */
public interface UserService {

    /**
     * 获取用户
     *
     * @param id user id
     * @return UserVO
     */
    UserVO getUser(Long id);

    /**
     * 获取用户列表
     *
     * @return List<UserVO>
     */
    List<UserVO> getUsers();
}
